package com.joysuch.wwyt.report;

import lombok.Data;

import java.io.Serializable;
import java.util.List;


/**
 *  积木报表API 返回结果对象
 */
@Data
public class ReportAPIResultBean implements Serializable {

    private List data;

    private Integer total;

    private Integer count;

    public ReportAPIResultBean(List data, Integer total, Integer count){
        this.data = data;
        this.count = count;
        this.total = total;
    }
    public ReportAPIResultBean(List data, Long total, Long count){
        this.data = data;
        this.count = count.intValue();
        this.total = total.intValue();
    }

}

